package com.glory.brepda.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class MultimastereqpbindingBean implements Serializable {

    @SerializedName("EQUIPMENTLIST")
    private List<EquipmentlistBean> equipmentlist;

    public static class EquipmentlistBean implements Serializable {
        /**
         * COMCLASS : UP-Time
         * CREATED : 2021/08/06 19:46:07
         * DEPARTMENT : 自动班
         * DESCRIPTION : 自动粘片机
         * EQPGROUP : 自动粘片机
         * EQPTYPE : 自动粘片机
         * EQUIPMENTID : DB-0052
         * HOLDSTATE : Off
         * ISAVAILABLE : true
         * ISBATCH : N
         * ISBATCHLOTSIZECONTROL : false
         * ISMULTIPART : N
         * MODEL : D200
         * OBJECTRRN : 94164593
         * STATE : IDLE
         * STATUSMODELRRN : 1281402
         * STYLE : 0
         * SUBSTATE : IDLE
         * UDF : {"belongfactory":"10","belongfarm":"共晶车间","reserved8":"佛山市蓝箭电子股份有限公司","reserved9":"33"}
         * UPDATED : 2021/12/31 10:13:32
         * UPDATEDBY : admin
         */

        @SerializedName("COMCLASS")
        private String comclass;
        @SerializedName("CREATED")
        private String created;
        @SerializedName("DEPARTMENT")
        private String department;
        @SerializedName("DESCRIPTION")
        private String description;
        @SerializedName("EQPGROUP")
        private String eqpgroup;
        @SerializedName("EQPTYPE")
        private String eqptype;
        @SerializedName("EQUIPMENTID")
        private String equipmentid;
        @SerializedName("HOLDSTATE")
        private String holdstate;
        @SerializedName("ISAVAILABLE")
        private Boolean isavailable;
        @SerializedName("ISBATCH")
        private String isbatch;
        @SerializedName("ISBATCHLOTSIZECONTROL")
        private Boolean isbatchlotsizecontrol;
        @SerializedName("ISMULTIPART")
        private String ismultipart;
        @SerializedName("MODEL")
        private String model;
        @SerializedName("OBJECTRRN")
        private Integer objectrrn;
        @SerializedName("STATE")
        private String state;
        @SerializedName("STATUSMODELRRN")
        private Integer statusmodelrrn;
        @SerializedName("STYLE")
        private Integer style;
        @SerializedName("SUBSTATE")
        private String substate;
        @SerializedName("UDF")
        private UdfBean udf;
        @SerializedName("UPDATED")
        private String updated;
        @SerializedName("UPDATEDBY")
        private String updatedby;

        public static class UdfBean implements Serializable {
            /**
             * belongfactory : 10
             * belongfarm : 共晶车间
             * reserved8 : 佛山市蓝箭电子股份有限公司
             * reserved9 : 33
             */

            private String belongfactory;
            private String belongfarm;
            private String reserved8;
            private String reserved9;
            private String reserved1;
            private String reserved2;
            private String reserved3;
            private String reserved4;
            private String reserved5;
            private String reserved6;
            private String reserved7;
            private String reserved10;
            private String reserved11;
            private String reserved12;


            public String getBelongfactory() {
                return belongfactory == null ? "" : belongfactory;
            }

            public void setBelongfactory(String belongfactory) {
                this.belongfactory = belongfactory;
            }

            public String getBelongfarm() {
                return belongfarm == null ? "" : belongfarm;
            }

            public void setBelongfarm(String belongfarm) {
                this.belongfarm = belongfarm;
            }

            public String getReserved8() {
                return reserved8 == null ? "" : reserved8;
            }

            public void setReserved8(String reserved8) {
                this.reserved8 = reserved8;
            }

            public String getReserved9() {
                return reserved9 == null ? "" : reserved9;
            }

            public void setReserved9(String reserved9) {
                this.reserved9 = reserved9;
            }

            public String getReserved1() {
                return reserved1 == null ? "" : reserved1;
            }

            public void setReserved1(String reserved1) {
                this.reserved1 = reserved1;
            }

            public String getReserved2() {
                return reserved2 == null ? "" : reserved2;
            }

            public void setReserved2(String reserved2) {
                this.reserved2 = reserved2;
            }

            public String getReserved3() {
                return reserved3 == null ? "" : reserved3;
            }

            public void setReserved3(String reserved3) {
                this.reserved3 = reserved3;
            }

            public String getReserved4() {
                return reserved4 == null ? "" : reserved4;
            }

            public void setReserved4(String reserved4) {
                this.reserved4 = reserved4;
            }

            public String getReserved5() {
                return reserved5 == null ? "" : reserved5;
            }

            public void setReserved5(String reserved5) {
                this.reserved5 = reserved5;
            }

            public String getReserved6() {
                return reserved6 == null ? "" : reserved6;
            }

            public void setReserved6(String reserved6) {
                this.reserved6 = reserved6;
            }

            public String getReserved7() {
                return reserved7 == null ? "" : reserved7;
            }

            public void setReserved7(String reserved7) {
                this.reserved7 = reserved7;
            }

            public String getReserved10() {
                return reserved10 == null ? "" : reserved10;
            }

            public void setReserved10(String reserved10) {
                this.reserved10 = reserved10;
            }

            public String getReserved11() {
                return reserved11 == null ? "" : reserved11;
            }

            public void setReserved11(String reserved11) {
                this.reserved11 = reserved11;
            }

            public String getReserved12() {
                return reserved12 == null ? "" : reserved12;
            }

            public void setReserved12(String reserved12) {
                this.reserved12 = reserved12;
            }
        }

        public String getComclass() {
            return comclass == null ? "" : comclass;
        }

        public void setComclass(String comclass) {
            this.comclass = comclass;
        }

        public String getCreated() {
            return created == null ? "" : created;
        }

        public void setCreated(String created) {
            this.created = created;
        }

        public String getDepartment() {
            return department == null ? "" : department;
        }

        public void setDepartment(String department) {
            this.department = department;
        }

        public String getDescription() {
            return description == null ? "" : description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getEqpgroup() {
            return eqpgroup == null ? "" : eqpgroup;
        }

        public void setEqpgroup(String eqpgroup) {
            this.eqpgroup = eqpgroup;
        }

        public String getEqptype() {
            return eqptype == null ? "" : eqptype;
        }

        public void setEqptype(String eqptype) {
            this.eqptype = eqptype;
        }

        public String getEquipmentid() {
            return equipmentid == null ? "" : equipmentid;
        }

        public void setEquipmentid(String equipmentid) {
            this.equipmentid = equipmentid;
        }

        public String getHoldstate() {
            return holdstate == null ? "" : holdstate;
        }

        public void setHoldstate(String holdstate) {
            this.holdstate = holdstate;
        }

        public Boolean getIsavailable() {
            return isavailable;
        }

        public void setIsavailable(Boolean isavailable) {
            this.isavailable = isavailable;
        }

        public String getIsbatch() {
            return isbatch == null ? "" : isbatch;
        }

        public void setIsbatch(String isbatch) {
            this.isbatch = isbatch;
        }

        public Boolean getIsbatchlotsizecontrol() {
            return isbatchlotsizecontrol;
        }

        public void setIsbatchlotsizecontrol(Boolean isbatchlotsizecontrol) {
            this.isbatchlotsizecontrol = isbatchlotsizecontrol;
        }

        public String getIsmultipart() {
            return ismultipart == null ? "" : ismultipart;
        }

        public void setIsmultipart(String ismultipart) {
            this.ismultipart = ismultipart;
        }

        public String getModel() {
            return model == null ? "" : model;
        }

        public void setModel(String model) {
            this.model = model;
        }

        public Integer getObjectrrn() {
            return objectrrn;
        }

        public void setObjectrrn(Integer objectrrn) {
            this.objectrrn = objectrrn;
        }

        public String getState() {
            return state == null ? "" : state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public Integer getStatusmodelrrn() {
            return statusmodelrrn;
        }

        public void setStatusmodelrrn(Integer statusmodelrrn) {
            this.statusmodelrrn = statusmodelrrn;
        }

        public Integer getStyle() {
            return style;
        }

        public void setStyle(Integer style) {
            this.style = style;
        }

        public String getSubstate() {
            return substate == null ? "" : substate;
        }

        public void setSubstate(String substate) {
            this.substate = substate;
        }

        public UdfBean getUdf() {
            return udf;
        }

        public void setUdf(UdfBean udf) {
            this.udf = udf;
        }

        public String getUpdated() {
            return updated == null ? "" : updated;
        }

        public void setUpdated(String updated) {
            this.updated = updated;
        }

        public String getUpdatedby() {
            return updatedby == null ? "" : updatedby;
        }

        public void setUpdatedby(String updatedby) {
            this.updatedby = updatedby;
        }
    }

    public List<EquipmentlistBean> getEquipmentlist() {
        if (equipmentlist == null) {
            return new ArrayList<>();
        }
        return equipmentlist;
    }

    public void setEquipmentlist(List<EquipmentlistBean> equipmentlist) {
        this.equipmentlist = equipmentlist;
    }
}
